package com.dongjiantong.farmrecords.enums;

/**
 * 采购中心购置类型分类枚举
 * @author Lee
 * @date 2018/1/20
 */
public enum PurchaseEnum {
    MATERIAL(1,"原料"),
    DRUG(2,"药物"),
    VACCINE(3,"疫苗"),
    OTHER(4,"其他");

    private final Integer code;
    private final String name;

    PurchaseEnum(Integer code, String name) {
        this.code = code;
        this.name = name;
    }

    public Integer getCode() {
        return code;
    }

    public String getName() {
        return name;
    }
}
